var form = document.forms.updateForm;
console.log(form);
form.onsubmit = function(event) {

  $.post(
    "user/user.let?action=update",
    sys.form.param(form).toString(),
    function(data) {
	console.info(sys.form.param(form).toString());	
      if (data.code == 200) {
        sys.toastr.success("修改成功");
      } else {
        sys.toastr.error(data.message);
      }
    }, "json"
  );

  return false;
}




